package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 成长值管理表实体类<br>
 * 对应的表为：mem_grow_config<br>
 * 
 * @author pbuilder generated
 * @date 2022-03-07 18:42:10
 * @company sgy
 * @version 2.0
 */
@TableName("mem_grow_config")
@ApiModel(description = "成长值管理表")
public class GrowConfigEntity {

    /** id */
	@ApiModelProperty("id")
	protected String id;

    /** 商圈id */
	@ApiModelProperty("商圈id")
	protected String busdId;

    /** 行为Code */
	@ApiModelProperty("行为Code")
	protected String actionCode;

    /** 行为名称 */
	@ApiModelProperty("行为名称")
	protected String actionName;

    /** 赠送成长值 */
	@ApiModelProperty("赠送成长值")
	protected Integer giveCount;

    /** 每日上限（次数） */
	@ApiModelProperty("每日上限（次数）")
	protected Integer dayMax;

    /** 启用状态 */
	@ApiModelProperty("启用状态")
	protected Boolean enableStatus;

    /** 金额 */
	@ApiModelProperty("金额")
	protected BigDecimal price;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

    /**  */
	protected LocalDateTime modifiedTime;

    /**  */
	protected String modifiedBy;

    /** 删除 0-未删除；1-已删除 */
	@ApiModelProperty("删除 0-未删除；1-已删除")
	protected Boolean del;

    /**  */
	protected LocalDateTime delTime;

    /**  */
	protected String delBy;

	/**
	 * 构造一个空成长值管理表实体对象
	 */
	public GrowConfigEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个成长值管理表实体对象
	 * 
	 * @param other 其它对象
	 */
	public GrowConfigEntity(GrowConfigEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.actionCode = other.actionCode;
     	this.actionName = other.actionName;
     	this.giveCount = other.giveCount;
     	this.dayMax = other.dayMax;
     	this.enableStatus = other.enableStatus;
     	this.price = other.price;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.modifiedTime = other.modifiedTime;
     	this.modifiedBy = other.modifiedBy;
     	this.del = other.del;
     	this.delTime = other.delTime;
     	this.delBy = other.delBy;
	}


	/**
	 * 获取id
	 * 
	 * @return id id
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置id
	 * 
	 * @param id id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈id
	 * 
	 * @return busdId 商圈id
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈id
	 * 
	 * @param busdId 商圈id
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取行为Code
	 * 
	 * @return actionCode 行为Code
	 */
	public String getActionCode() {
		return actionCode;
	}
  	
	/**
	 * 设置行为Code
	 * 
	 * @param actionCode 行为Code
	 */
	public void setActionCode(String actionCode) {
		this.actionCode = actionCode;
	}

	/**
	 * 获取行为名称
	 * 
	 * @return actionName 行为名称
	 */
	public String getActionName() {
		return actionName;
	}
  	
	/**
	 * 设置行为名称
	 * 
	 * @param actionName 行为名称
	 */
	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

	/**
	 * 获取赠送成长值
	 * 
	 * @return giveCount 赠送成长值
	 */
	public Integer getGiveCount() {
		return giveCount;
	}
  	
	/**
	 * 设置赠送成长值
	 * 
	 * @param giveCount 赠送成长值
	 */
	public void setGiveCount(Integer giveCount) {
		this.giveCount = giveCount;
	}

	/**
	 * 获取每日上限（次数）
	 * 
	 * @return dayMax 每日上限（次数）
	 */
	public Integer getDayMax() {
		return dayMax;
	}
  	
	/**
	 * 设置每日上限（次数）
	 * 
	 * @param dayMax 每日上限（次数）
	 */
	public void setDayMax(Integer dayMax) {
		this.dayMax = dayMax;
	}

	/**
	 * 获取启用状态
	 * 
	 * @return enableStatus 启用状态
	 */
	public Boolean getEnableStatus() {
		return enableStatus;
	}
  	
	/**
	 * 设置启用状态
	 * 
	 * @param enableStatus 启用状态
	 */
	public void setEnableStatus(Boolean enableStatus) {
		this.enableStatus = enableStatus;
	}

	/**
	 * 获取金额
	 * 
	 * @return price 金额
	 */
	public BigDecimal getPrice() {
		return price;
	}
  	
	/**
	 * 设置金额
	 * 
	 * @param price 金额
	 */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedBy 
	 */
	public String getModifiedBy() {
		return modifiedBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedBy 
	 */
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	/**
	 * 获取删除 0-未删除；1-已删除
	 * 
	 * @return del 删除 0-未删除；1-已删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置删除 0-未删除；1-已删除
	 * 
	 * @param del 删除 0-未删除；1-已删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取
	 * 
	 * @return delTime 
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delTime 
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

	/**
	 * 获取
	 * 
	 * @return delBy 
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delBy 
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

    public String toString() {
		return new StringBuilder().append("GrowConfigEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",actionCode=").append(actionCode).
			append(",actionName=").append(actionName).
			append(",giveCount=").append(giveCount).
			append(",dayMax=").append(dayMax).
			append(",enableStatus=").append(enableStatus).
			append(",price=").append(price).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",modifiedTime=").append(modifiedTime).
			append(",modifiedBy=").append(modifiedBy).
			append(",del=").append(del).
			append(",delTime=").append(delTime).
			append(",delBy=").append(delBy).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public GrowConfigEntity copy() {
		return new GrowConfigEntity(this);
	}

    /** id */
	public static final String COL_ID = "id";

    /** 商圈id */
	public static final String COL_BUSD_ID = "busd_id";

    /** 行为Code */
	public static final String COL_ACTION_CODE = "action_code";

    /** 行为名称 */
	public static final String COL_ACTION_NAME = "action_name";

    /** 赠送成长值 */
	public static final String COL_GIVE_COUNT = "give_count";

    /** 每日上限（次数） */
	public static final String COL_DAY_MAX = "day_max";

    /** 启用状态 */
	public static final String COL_ENABLE_STATUS = "enable_status";

    /** 金额 */
	public static final String COL_PRICE = "price";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /**  */
	public static final String COL_MODIFIED_BY = "modified_by";

    /** 删除 0-未删除；1-已删除 */
	public static final String COL_DEL = "del";

    /**  */
	public static final String COL_DEL_TIME = "del_time";

    /**  */
	public static final String COL_DEL_BY = "del_by";
}
